package com.xing.feign;

import com.xing.Utils.Result;
import com.xing.feign.FallbackFactory.RoomTagFeignFallbackFactory;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

/**
 * @version 1.0
 * @Author Xing
 * @Date 2024/4/27 16:47
 */
@FeignClient(value = "conference-back-server" ,contextId = "RoomTagFeign",fallbackFactory = RoomTagFeignFallbackFactory.class)
public interface RoomTagFeign {

    @GetMapping(value = "/back/roomTag/getRoomTagByRoomId")
    Result getRoomTagByRoomId(@RequestParam Long roomId);

}
